﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace CTP.Entitys
{
    /// <summary>
    /// 委托单状态
    /// </summary>
    public struct OrderStatus
    {
        /// <summary>
        /// 时间戳
        /// </summary>
        public string TimeStamp ;

        /// <summary>
        /// 资金帐号
        /// </summary>
        public string Account ;

        /// <summary>
        /// 柜台单号（合同号）
        /// </summary>
        public string OrderID ;

        /// <summary>
        /// 原始单号
        /// </summary>
        public string OrderRef;
        /// <summary>
        /// 委托状态
        /// </summary>
        public OrderState OrderState;

        /// <summary>
        /// 市场ID，下单响应后，交易柜台回应该字段
        /// </summary>
        public string ExchangeID;

        public string Message;
    }

}
